package models

import "github.com/huannet/AdRoute/models"

type Comment struct {
	ID 		int `json="id"`
	UserId 	int `json="user_id"`
	TargetModel string `json="target_model"`
	TargetId 	int `json="target_id"`
	Content 	string `json="content"`
}

func (c Comment) getUser() models.User {
	return models.User{Name:"superwen",Email:"superwen@gmail.com"}
}